package pikes.ecma;

import java.io.IOException;

public class SingleLineComment {

	private CharSequence commentText = null;

	public SingleLineComment(CharSequence commentText) {
		this.commentText = commentText;
	}

	public void print(Appendable appendable) throws IOException {
		appendable.append("//");
		appendable.append(commentText);
	}
}
